package chat.aylan.top.commons;
/**
 * 群聊天实体
 */

import chat.aylan.top.wind.ChatWind;

public class Group {

    public static Group group;

    private int id = 10001;
    private int msg;
//    private String name;
    public ChatWind wind;
//    private int total;
//    private int onlines;

    private Group(){
        this.wind = new ChatWind(480,320,id);
    }

    public static Group getInstance(){
        if(group == null){
            group = new Group();
        }
        return group;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMsg() {
        return msg;
    }

    public void setMsg(int msg) {
        this.msg = msg;
    }
}
